<?php
$languages = Configure::read('Languages');
$session_language = $session->read('Config.language');

foreach ($languages as $key => $value) {
	echo $html->link(__($value, true), array('controller' => 'users','action'=>'switch_language',$key));
	echo "&nbsp;";
}
?>